package battleship.cxbr;

import java.util.ArrayList;

import battleship.cxbr.*;
import battleship.emss.Context;
import battleship.emss.CxBRAgent;

public class BlueAgent extends CxBRAgent{
	
	public BlueAgent()
	{
		super();
	}
	public void InitStructure(){
		Context Patrol = new PatrolContext("Patrol",this);
		AddMajorContext(Patrol);
		Context Avoid = new AvoidContext("Avoid",this);
		AddMajorContext(Avoid);
		Context Kill = new KillContext("Kill",this);
		AddMajorContext(Kill);
		Context Evade = new EvadeContext("Evade", this);
		//AddMajorContext(Evade);
		Evade.addSiblingContext(Kill);
		//Attack.addSiblingContext(Evade);
		Kill.addChildContext(Evade);
		Avoid.addSiblingContext(Patrol);
		//Attack.addSiblingContext(Search);
		
		return;
	}	
}
